package decorator;

/**
 * @author dongtao
 * @desc 具体组件
 * @Data 2021-08-15
 */
public class ConcreteComponent  implements Component {
    private String description = "选择了咖啡豆";
    
    @Override
    public String getDescription(){
        return description;
    }
    
    @Override
    public double getPrice() {
        return 10;
    }
}
